<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>数据库表</title>
    <link rel="stylesheet" href="../css/table.css">
    <link rel="stylesheet" href="//g.alicdn.com/sui/sui3/0.0.18/css/sui.min.css">
    <script type="text/javascript">
        function warning(){
            if(1==1) {
                alert("请确认表是否存在!");
            }
        }
    </script>
    <script type="text/javascript">
        function menu() {
        var total = document.getElementById("menu");
        var ul = total.getElementsByTagName("ul");
        for (var i = 0; i < ul.length; i++) {
            ul[i].style.display = "none";
        }
        var li = total.getElementsByTagName("li");
        for (var i = 0; i < li.length; i++) {
            li[i].onmouseover= function () {
                var inul = this.getElementsByTagName("ul");
                for (var j = 0; j < inul.length; j++) {
                    inul[j].style.display = "block";
                }
            }
            li[i].onmouseout = function () {
                var inul = this.getElementsByTagName("ul");
                for (var j = 0; j < inul.length; j++) {
                    inul[j].style.display = "none";
                }
            }
        }
    }
    window.onload=menu();
    </script>

</head>
<body onload=menu()>
    <header class="navbar navbar-static-top bs-docs-nav navbar-inverse">
        <div class="container-head">
            <div class="navbar-header">
                <div class="font-size">数据库表</div>
            </div>
        </div>
    </header>
    <div class="framework-container">
        <div class="framework-left-nav">
            <ul class="nav bs-docs-sidenav" id="menu">
                <li>
                    <a href="#project1">Project1</a>
                    <ul>
                        <li><a href="#project1-1">1</a></li>
                        <li><a href="#project1-2">2</a></li>
                        <li><a href="#project1-3">3</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#project2">Project2</a>
                    <ul>
                        <li><a href="#project1-1">1</a></li>
                        <li><a href="#project1-2">2</a></li>
                        <li><a href="#project1-3">3</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#Project3">Project3</a>
                    <ul>
                        <li><a href="#project1-1">1</a></li>
                        <li><a href="#project1-2">2</a></li>
                        <li><a href="#project1-3">3</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#Project4">Project4</a>
                    <ul>
                        <li><a href="#project1-1">1</a></li>
                        <li><a href="#project1-2">2</a></li>
                        <li><a href="#project1-3">3</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#Project5">Project5</a>
                    <ul>
                        <li><a href="#project1-1">1</a></li>
                        <li><a href="#project1-2">2</a></li>
                        <li><a href="#project1-3">3</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <div class="open-content">
            <form>
               <input type="text" name="search_key" placeholder="关键字">
               <button type="submit" class="btn btn-default"  onclick="warning()">Submit</button>
            </form>
            <div id="#table11">
                <table class="table">
                    <caption class="caption-size">表名</caption>
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>First Name</th>
                        <th>Last Name</th>
                        <th>Username</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <th scope="row">1</th>
                        <td>Mark</td>
                        <td>Otto</td>
                        <td>@mdo</td>
                    </tr>
                    <tr>
                        <th scope="row">2</th>
                        <td>Jacob</td>
                        <td>Thornton</td>
                        <td>@fat</td>
                    </tr>
                    <tr>
                        <th scope="row">3</th>
                        <td>Larry</td>
                        <td>the Bird</td>
                        <td>@twitter</td>
                    </tr>
                    <tr>
                        <th scope="row">4</th>
                        <td>Mark</td>
                        <td>Otto</td>
                        <td>@mdo</td>
                    </tr>
                    <tr>
                        <th scope="row">5</th>
                        <td>Jacob</td>
                        <td>Thornton</td>
                        <td>@fat</td>
                    </tr>
                    <tr>
                        <th scope="row">6</th>
                        <td>Larry</td>
                        <td>the Bird</td>
                        <td>@twitter</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="//g.alicdn.com/sj/lib/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="//g.alicdn.com/sui/sui3/0.0.18/js/sui.min.js"></script>
</body>
</html>